(read_pending_input): Fix the garbaged-modifiers bug under System Vs previous
authorEric S. Raymond <esr@snark.thyrsus.com>
Mon, 26 Apr 1993 05:15:13 +0000 (05:15 +0000)
committerEric S. Raymond <esr@snark.thyrsus.com>
Mon, 26 Apr 1993 05:15:13 +0000 (05:15 +0000)
to r4.

src/sysdep.c

index 45226ed6159a2980f145228c61d3e51618a57d1c..7781e6264b5d76d3978436ffacaeca00d7348aea 100644 (file)
@@ -1786,6 +1786,7 @@ read_input_waiting ()
   /* Scan the chars for C-g and store them in kbd_buffer.  */
   e.kind = ascii_keystroke;
   e.frame_or_window = selected_frame;
+  e.modifiers = 0;
   for (i = 0; i < nread; i++)
     {
       XSET (e.code, Lisp_Int, buf[i]);